$OpenBSD: patch-libgcc_config_host,v 1.4 2014/05/25 21:45:39 pascal Exp $
--- libgcc/config.host.orig	Thu Mar 20 17:12:30 2014
+++ libgcc/config.host	Thu May 22 20:04:20 2014
@@ -724,6 +724,12 @@ microblaze*-*-rtems*)
 	;;
 mips*-*-netbsd*)			# NetBSD/mips, either endian.
 	;;
+mips64-*-openbsd*)
+	set
+	;;
+mips64el-*-openbsd*)
+	set
+	;;
 mips*-*-linux*)				# Linux MIPS, either endian.
 	extra_parts="$extra_parts crtfastmath.o"
 	tmake_file="${tmake_file} t-crtfm mips/t-mips16"
@@ -836,6 +842,9 @@ powerpc*-*-freebsd*)
 	;;
 powerpc-*-netbsd*)
 	tmake_file="$tmake_file rs6000/t-netbsd rs6000/t-crtstuff"
+	;;
+powerpc-*-openbsd*)
+	tmake_file="$tmake_file rs6000/t-crtstuff"
 	;;
 powerpc-*-eabispe*)
 	tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
